<?php

namespace app\admin\model;

use think\Model;

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/26
 * Time: 15:48
 */
class Shop extends Model
{
    protected $name = 'shop';
    protected $autoWriteTimestamp = true;

    //是否支持上门
    const IS_UP_ONE = 1;//是
    const IS_UP_TWO = 2;//否

    // 门店禁用状态
    const STATUS_ONE = 1;//正常
    const STATUS_TWO = 2;//禁用


    /**
     * 获取门店id
     * @return int
     */
    public function getId()
    {
        return $this->shopId;
    }

    /**
     * 获取门店昵称
     * @return string
     */
    public function getName()
    {
        return $this->shopName;
    }

    /**
     * 获取商户地址
     * @return string
     */
    public function getAddress()
    {
        return $this->address;
    }

    /**
     * 获取禁用状态
     * @return int
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * 获取门店上门服务状态
     * @return int
     */
    public function getType()
    {
        return $this->type;
    }

    /**
     * 获取门店创建时间
     * @return string
     */
    public function getAddtime()
    {
        return $this->addtime;
    }


}